/**
 * <p>
 * 弹窗配置
 *
 * @Author：Roy
 * @Description：预警
 * @Date：Create by 2023-12-04 14:51:04
 */
const popConfig = {
  'warning-setting': {
    'warning-setting-add': {
      popTitle: '新增碳排放预警设置',
      popType: 'OperateWarningSetting',
      visible: true,
      popConfig: {
        width: '50%',
        destroy: true,
        popType: 'add'
      }
    },
    'warning-setting-edit': {
      popTitle: '编辑碳排放预警设置',
      popType: 'OperateWarningSetting',
      visible: true,
      popConfig: {
        width: '50%',
        destroy: true
      }
    },
    'warning-setting-look': {
      popTitle: '查看碳排放预警设置',
      popType: 'OperateWarningSetting',
      visible: true,
      popConfig: {
        width: '50%',
        destroy: true,
        disabled: true,
        hideFooterBtn: true
      }
    },
    'warning-setting-delete': {
      showType: 'confirm',
      confirmHeader: '提示',
      confirmContent: '确认删除XXX的配置信息？',
      splitProp: 'warningName',
      paramsProp: { id: 'id' },
      path: 'carbonEmissionWarning.deleteById'
    },
    // 'warning-setting-import': {
    //   popTitle: '导入',
    //   popType: 'AddFile',
    //   visible: true,
    //   popConfig: {
    //     width: '50%',
    //     hideFooterBtn: true,
    //     // 上传接口
    //     upLoadPath: '/energy-carbon/ecp-admin/earlyWarning/upload',
    //     // 模板下载参数
    //     tplName: 'earlyWarningRenderer'
    //   }
    // },
    'warning-setting-deleteBatch': {
      showType: 'confirm',
      dataType: 'multipleList',
      confirmHeader: '提示',
      confirmContent: '确认批量删除XXX预警的配置信息？',
      splitProp: 'warningName',
      paramsProp: { ids: 'id' },
      path: 'carbonEmissionWarning.batchDelete'
    }
  }
}

export default {}
export { popConfig }
